package com.hilaver.dzmis.sys;

import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

/**
 * AbstractSysMenu entity provides the base persistence definition of the
 * SysMenu entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class SysMenu implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer sequence;
	private String type;
	private String isFirstLevel;
	private SysMenu sysMenu;
	private String actionUrl;
	private String descriptionCn;
	private String descriptionFr;
	private String descriptionEn;
	private Set<SysMenu> sysMenus = new HashSet<SysMenu>(0);

	// Constructors

	/** default constructor */
	public SysMenu() {
	}

	/** minimal constructor */
	public SysMenu(Integer sequence, String isFirstLevel,
			String actionUrl) {
		this.sequence = sequence;
		this.isFirstLevel = isFirstLevel;
		this.actionUrl = actionUrl;
	}

	/** full constructor */
	public SysMenu(Integer sequence, String isFirstLevel,
			String actionUrl, String descriptionCn,
			String descriptionFr, String descriptionEn) {
		this.sequence = sequence;
		this.isFirstLevel = isFirstLevel;
		this.actionUrl = actionUrl;
		this.descriptionCn = descriptionCn;
		this.descriptionFr = descriptionFr;
		this.descriptionEn = descriptionEn;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Integer getSequence() {
		return this.sequence;
	}

	public void setSequence(Integer sequence) {
		this.sequence = sequence;
	}

	public String getIsFirstLevel() {
		return this.isFirstLevel;
	}

	public void setIsFirstLevel(String isFirstLevel) {
		this.isFirstLevel = isFirstLevel;
	}

	public String getActionUrl() {
		return this.actionUrl;
	}

	public void setActionUrl(String actionUrl) {
		this.actionUrl = actionUrl;
	}

	public String getDescriptionCn() {
		return this.descriptionCn;
	}

	public void setDescriptionCn(String descriptionCn) {
		this.descriptionCn = descriptionCn;
	}

	public String getDescriptionFr() {
		return this.descriptionFr;
	}

	public void setDescriptionFr(String descriptionFr) {
		this.descriptionFr = descriptionFr;
	}

	public String getDescriptionEn() {
		return this.descriptionEn;
	}

	public void setDescriptionEn(String descriptionEn) {
		this.descriptionEn = descriptionEn;
	}

	public SysMenu getSysMenu() {
		return sysMenu;
	}

	public void setSysMenu(SysMenu sysMenu) {
		this.sysMenu = sysMenu;
	}

	public Set<SysMenu> getSysMenus() {
		return sysMenus;
	}

	public void setSysMenus(Set<SysMenu> sysMenus) {
		this.sysMenus = sysMenus;
	}
	
	
	
	

}